Update dependencies and fix audit vulnerabilities#1021
Draft
Update dependencies and fix audit vulnerabilities#1021
Conversation
Updates @react-email/components, react-email, axios, pino-pretty, and @types/node, @types/react, @types/react-dom to latest compatible versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- sharp: 0.33.5 → 0.34.5 - lucide-react: 0.575.0 → 1.7.0 - @vercel/og: 0.8.5 → 0.11.1 - @vercel/blob: 1.1.1 → 2.3.3 - @libsql/client: 0.15.4 → 0.17.2 - lint-staged: 15.5.0 → 16.4.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- typescript: 5.7.2 → 5.7.3 - @types/react: 19.1.8 → 19.2.14 - @types/react-dom: 19.1.6 → 19.2.3 - tailwind-merge: 2.6.0 → 3.5.0 - react: 19.1.0 → 19.2.4 - react-dom: 19.1.0 → 19.2.4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- @eslint/eslintrc: 3.2.0 → 3.3.5 (fixes minimatch ReDoS) - @sentry/nextjs: 9.39.0 → 9.47.1 (fixes minimatch, rollup) - isomorphic-dompurify: 2.26.0 → 2.36.0 (fixes dompurify vulns) - lodash-es: 4.17.23 → 4.18.1 - path-to-regexp: 8.3.0 → 8.4.2 - posthog-js: 1.257.0 → 1.364.7 (fixes preact vuln) - copyfiles: updated for minimatch fix Remaining audit issues are all in transitive deps of next, eslint, tailwindcss, @payloadcms/*, and @sentry/webpack-plugin — require major version upgrades to resolve. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates all safely upgradable dependencies, aligns versions with the Payload website template, and fixes audit vulnerabilities in direct dependencies.
Related Issues
N/A
Key Changes
Safe patch/minor updates:
@react-email/components1.0.6 → 1.0.11react-email/@react-email/preview-server5.2.5 → 5.2.10axios1.12.0 → 1.14.0pino-pretty13.1.2 → 13.1.3@types/node22.5.4 → 22.19.17@types/react19.0.1 → 19.2.14@types/react-dom19.0.1 → 19.2.3Medium-risk updates:
sharp0.33.5 → 0.34.5lucide-react0.575.0 → 1.7.0@vercel/og0.8.5 → 0.11.1@vercel/blob1.1.1 → 2.3.3@libsql/client0.15.4 → 0.17.2lint-staged15.5.0 → 16.4.0Template alignment:
typescript5.7.2 → 5.7.3tailwind-merge2.6.0 → 3.5.0react/react-dom19.1.0 → 19.2.4Audit fixes:
@eslint/eslintrc3.2.0 → 3.3.5 (minimatch ReDoS)@sentry/nextjs9.39.0 → 9.47.1 (minimatch, rollup)isomorphic-dompurify2.26.0 → 2.36.0 (dompurify vulns)lodash-es4.17.23 → 4.18.1path-to-regexp8.3.0 → 8.4.2posthog-js1.257.0 → 1.364.7 (preact vuln)Not updated (require dedicated PRs):
How to test
pnpm tsc— passespnpm lint— passespnpm test— 286 tests pass@vercel/blobv2)@vercel/ogupdate)lucide-react1.0)sharp0.34)Screenshots / Demo video
N/A — dependency updates only
Migration Explanation
No database migrations needed. All changes are package version bumps.
Future enhancements / Questions
Remaining audit vulnerabilities are all transitive deps blocked by major upgrades:
nextvulns → needs Next.js 16webpack,rollup→ needs Sentry 10flatted,ajv→ needs ESLint 10yaml→ needs Tailwind 4nodemailer,esbuild→ needs Payload upstream fix🤖 Generated with Claude Code